# !/bin/bash

# setting coding
mkdir -p /etc/default
echo 'LC_CTYPE="C.UTF-8"' > /etc/default/locale
echo 'LC_ALL="C.UTF-8"' >> /etc/default/locale
echo 'LANG="C.UTF-8"' >> /etc/default/locale
sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config 
sed -i 's#root:x:0:0:root:/root:/bin/bash#root:x:0:0:root:/home/python:/bin/bash#g' /etc/passwd 
echo "root:pythonyou" | chpasswd 

